#pragma once
#include "Pattern.h"
typedef int INDEX;
typedef int LINENUM;
typedef bool BOOLEAN;
typedef string STRING;
class PatternTable{
private:
	vector<Pattern> _table;
	INTEGER _size;
public:
	PatternTable();
	INDEX insertPattern(INTEGER type, LINENUM line, STRING varName, vector<Pattern_node> tNode);
	Pattern at(INDEX index);
	vector<Pattern> getPatternTable();
	int getPatternSize();
};